﻿using System.Collections.Generic;
using Web7.Core.Configuration;
using Web7.Core.Apps;

namespace Web7.Core.Apps
{
    public interface IAppRegistry
    {
        IApp Load(Web7ConfigurationSection config, Web7AppConfigurationElement app);
        IEnumerable<IApp> GetApps();
        IEnumerable<T> GetApps<T>(); //where T : IApp;
        void UnloadApps();
    }
}
